import base64


class Base64Util:
    @classmethod
    def encode(cls, file_path):
        base64_encode = b''
        with open(file_path, 'rb') as f:
            base64_encode = base64.b64encode(f.read())
        return base64_encode

    @classmethod
    def decode(cls, encode_result):
        return base64.b64decode()











